home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 7: Sunsite / Linux Cubed Series 7 - Sunsite Vol 1.iso / libs / libelf-0.5 / libelf-0 / libelf-0.5.2 / mkmsgs < prev    next >
Encoding:
Text File  |  1995-10-21  |  957 b   |  23 lines

  1. #! /bin/sh -
  2. # mkmsgs - automatically create libelf message file
  3. # Copyright (C) 1995 Michael Riepe <riepe@ifwsn4.ifw.uni-hannover.de>
  4. # This library is free software; you can redistribute it and/or
  5. # modify it under the terms of the GNU Library General Public
  6. # License as published by the Free Software Foundation; either
  7. # version 2 of the License, or (at your option) any later version.
  8. # This library is distributed in the hope that it will be useful,
  9. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  11. # Library General Public License for more details.
  12. # You should have received a copy of the GNU Library General Public
  13. # License along with this library; if not, write to the Free Software
  14. # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  15.  
  16. echo '$set 1'
  17. sed -n 's/^__err__(.*,[     ]*"\(.*\)")$/__\1/p' | sed '=' | \
  18. sed 'N
  19. s/.__/ /'
  20.